Skip to content

Conversation

@hanuchaudhary
Copy link
Contributor

Pull Request Template

Summary

if no user and user try to hit any route other than /auth/signin or /auth/signup or /, redirect to /auth/signin

Fixes # (issue)

Type of Change

Please mark [X] for applicable items:

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Screenshots/Videos (optional)

Please attach relevant screenshots or videos demonstrating the changes.

@vercel
Copy link

vercel bot commented Jan 16, 2025

@hanuchaudhary is attempting to deploy a commit to the Yash Kumar Saini's projects Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Jan 16, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
leetcode-journal ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 16, 2025 1:01pm

@yashksaini-coder yashksaini-coder added enhancement New feature or request SWOC officially part of SWOC season 5 Advanced SWOC Level 3 issue Backend Related to the Backend part High Priority High Priority issue labels Jan 16, 2025
Copy link
Owner

@yashksaini-coder yashksaini-coder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All changes are good, and the user logout is working properly.

@yashksaini-coder yashksaini-coder merged commit 712f580 into yashksaini-coder:main Jan 16, 2025
4 checks passed
@hanuchaudhary hanuchaudhary deleted the middleware branch January 16, 2025 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Advanced SWOC Level 3 issue Backend Related to the Backend part enhancement New feature or request High Priority High Priority issue SWOC officially part of SWOC season 5

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants